import Request from '@/axios/request'

export function getWorshipPpts(params) {
  return Request.get('worship-ppts', { params })
}

export function createWorshipPpt() {
  return Request.get('worship-ppts/create')
}

export function storeWorshipPpt(data) {
  return Request.post('worship-ppts', data)
}

export function updateWorshipPpt(id, data) {
  return Request.put(`worship-ppts/${id}`, data)
}

export function editWorshipPpt(id) {
  return Request.get(`worship-ppts/${id}/edit`)
}

export function destroyWorshipPpt(id) {
  return Request.delete(`worship-ppts/${id}`)
}

export function exportWorshipPpt(id) {
  return Request.post(`worship-ppts/export/${id}`)
}

export function showWorshipPpt(id) {
  return Request.get(`worship-ppts/${id}`)
}